[Linux] domain socket "sendto" encounter "errno 111, connection refused"

Posted by z.cHris on Stack Overflow See other posts from Stack Overflow or by z.cHris
Published on 2010-05-18T02:20:54Z Indexed on 2010/05/18 2:30 UTC
Read the original article Hit count: 236

Filed under:
|
|

I am using domain socket to get values from another process, like A to get a value from B, It works well for months. But recently, A is failed during "sendto" message to B with "errno 111, connection refused" occasionally.

I checked the B domain socket bind file, it is exists. I also do some tests in another machine, also works well. So, does anyone encounter this problem before? Can anyone have some clues what might be probably wrong in this scenario? Thanks very much.

© Stack Overflow or respective owner

Related posts about c

    Related posts about socket